#include <stdio.h>

struct student{
    int num;
    char name[20];
    char sex;
    int age;
    float score;
    char addr[30];
};//结构体类型声明，注意最后一定要加分号

int main() {
    struct student s;
    struct student s_arr[3];//结构体数组
    scanf("%d%s %c%d%f%s",&s.num,&s.name,&s.sex,&s.age,&s.score,&s.addr);
    //1001 lele M 19 88.5 beijing
    printf("%d %s %c %d %0.1f %s\n",s.num,s.name,s.sex,s.age,s.score,s.addr);
    printf("-----------------------------------------------------------\n");
    for (int i = 0; i < 3; ++i)
    {
        scanf("%d%s %c%d%f%s",&s_arr[i].num,&s_arr[i].name,&s_arr[i].sex,&s_arr[i].age,&s_arr[i].score,&s_arr[i].addr);
    }
    /*
1002 lihua F 21 99 tianjin
1003 xiaoming M 20 89 shanghai
1004 wangming M 22 95 guangzhou
     */
    for (int i = 0; i < 3; ++i) {
        printf("%d %s %c %d %0.2f %s\n",s_arr[i].num,s_arr[i].name,s_arr[i].sex,s_arr[i].age,s_arr[i].score,s_arr[i].addr);
    }
    return 0;
}
